/*
 * Talk.h
 *
 *  Created on: 27/05/2011
 *      Author: DessaVida
 */

#ifndef TALK_H_
#define TALK_H_

#include "Action.h"

#include <string>
using namespace std;

#define LINE_SIZE 80
#define N_LINE 4

class Talk: public Action {
private:
	string actualText;
	string text;
	int begin;
	int counter;
	bool finished;
public:
	Talk(int id, string text);
	virtual ~Talk();

	void View();
	string getText();
    void initAction(Model *model, Dialog* dialog);
    void executeAction(Model *model, Dialog* dialog);
    void quitAction(Model *model);
    string getActualText() const;
    void setActualText(string actualText);
    void setText(string text);
};

#endif /* TALK_H_ */
